package cn.itcast.banart.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class BanArtGoodsList implements Serializable {
    @JsonProperty("code")
    private Integer code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("data")
    private BanArtGoodsDetail data;
    @Data
    public class BanArtGoodsDetail {
        @JsonProperty("list")
        private List<BanArtGoodsDetailList> list;
    }
    @Data
    public class BanArtGoodsDetailList {
        @JsonProperty("id")
        private String id;
        @JsonProperty("price")
        private String price;
        @JsonProperty("states")
        private Integer states;
    }
}
